﻿<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<title>智慧交通</title>
		<link
			rel="stylesheet"
			href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"
		/>
		<link rel="stylesheet" href="./style.css" />
		<link
			rel="stylesheet"
			href="../js/login/plugs/bootstrapValidator.min.css"
		/>
		<link
			rel="stylesheet"
			href="../node_modules/bootstrap/dist/css/bootstrap.min.css"
		/>

		<script src="../node_modules/crypto-js/crypto-js.js"></script>

		<script src="../node_modules/jquery/dist/jquery.js"></script>
		<script src="../node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
		<script src="../js/login/plugs/bootstrapValidator.min.js"></script>

		<script src="./js/loginAndReg.js"></script>
		<script src="./js/validator.js"></script>
	</head>
	<body>
		<!-- partial:index.partial.html -->
		<div class="container right-panel-active">
			<!-- Sign Up -->
			<div class="container__form container--signup">
				<form action="#" class="form" id="form1">
					<h2 class="form__title">欢迎加入</h2>
					<div class="form-group">
						<input
							type="text"
							placeholder="用户名"
							name="regusername"
							id="regusername"
							class="input form-control"
						/>
					</div>
					<div class="form-group">
						<input
							type="email"
							placeholder="Email"
							name="regemail"
							id="regemail"
							class="input form-control"
						/>
					</div>
					<div class="form-group">
						<input
							type="password"
							placeholder="密码"
							name="regpassword"
							id="regpassword"
							class="input form-control"
						/>
					</div>
					<div class="form-group">
						<input
							type="password"
							placeholder="再次确认密码"
							name="regconfirmPassword"
							class="input form-control"
						/>
					</div>

					<button class="btn" id="registerbtn">注 册</button>
				</form>
			</div>

			<!-- Sign In -->
			<div class="container__form container--signin">
				<form action="#" class="form" id="form2">
					<h2 class="form__title">登 录</h2>
					<div class="form-group">
						<input
							type="text"
							placeholder="用户名"
							class="input form-control"
							name="logusername"
							id="logusername"
						/>
					</div>
					<div class="form-group">
						<input
							type="password"
							placeholder="密码"
							class="input form-control"
							name="logpassword"
							id="logpassword"
						/>
					</div>

					<div class="checkbox remember-password-container">
						<input
							type="checkbox"
							name="remember"
							value="remember-me"
							id="remember"
						/>
						<label for="remember">记住密码</label>
					</div>
					<a href="#" class="link">忘记密码?</a>
					<button class="btn" id="loginbtn">登 录</button>
					<!--错误消息提示  -->
					<div id="CheckMsg" class="msg"></div>
				</form>
			</div>

			<!-- Overlay -->
			<div class="container__overlay">
				<div class="overlay">
					<div class="overlay__panel overlay--left">
						<button class="btn" id="signIn">已有账号去登录</button>
					</div>
					<div class="overlay__panel overlay--right">
						<button class="btn" id="signUp">没有账号注册</button>
					</div>
				</div>
			</div>
		</div>
		<!-- partial -->

		<script src="./js/loginMain.js"></script>
	</body>
</html>
